export interface Ys7CameraRoleTableColumns {    
    id:number;  //    
    deviceSerial:string;  // 设备序列号    
    roleId:number;  // 角色id    
}


export interface Ys7CameraRoleInfoData {    
    id:number|undefined;        //    
    deviceSerial:string|undefined; // 设备序列号    
    roleId:number|undefined; // 角色id    
}


export interface Ys7CameraRoleTableDataState {
    ids:any[];
    tableData: {
        data: Array<Ys7CameraRoleTableColumns>;
        total: number;
        loading: boolean;
        param: {
            pageNum: number;
            pageSize: number;            
            id: number|undefined;            
            deviceSerial: string|undefined;            
            roleId: number|undefined;            
            dateRange: string[];
        };
    };
}


export interface Ys7CameraRoleEditState{
    loading:boolean;
    isShowDialog: boolean;
    formData:Ys7CameraRoleInfoData;
    rules: object;
}